<div class="log">
  <div class="title">
    <h3>单据日志</h3>
  </div>
  <div class="table">
    <d-data-table [dataSource]="data" [lazy]="true" [scrollable]="true" [fixHeader]="true" [maxHeight]="tableheight"  [tableOverflowType]="'auto'" [scrollable]="true"  [resizeable]="true" >
      <thead dTableHead>
        <tr dTableRow>
          <th dHeadCell *ngFor="let colOption of dataTableOptions.columns">{{ colOption.header }}</th>
        </tr>
      </thead>
      <tbody dTableBody>
        <ng-template let-rowItem="rowItem" let-rowIndex="rowIndex" let-nestedIndex="nestedIndex">
          <tr dTableRow>
            <td dTableCell *ngIf="rowItem.number">
              <span dTooltip [content]="rowItem?.number">{{rowItem?.number}}</span>
            </td>
            <td dTableCell>
              <span dTooltip [content]="rowItem?.content">{{rowItem?.content}}</span>
            </td>
            <td dTableCell>
              <span dTooltip [content]="rowItem?.operator">{{rowItem?.operator}}</span>
            </td>
            <td dTableCell>
              <span dTooltip [content]="rowItem?.timeStamp">{{rowItem?.timeStamp | date:'yyyy-MM-dd HH:mm'}}</span>
            </td>
          </tr>
        </ng-template>
      </tbody>
    </d-data-table>
  </div>

</div>
